//
//  SubmitOrderBottomTool.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/25.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SubmitOrderBottomTool;
@protocol SubmitOrderBottomToolDelegate <NSObject>

@optional
-(void)SubmitOrderBottomTool:(SubmitOrderBottomTool*)tool didClickSubmitButton:(UIButton*)button;
@end
@interface SubmitOrderBottomTool : UIView
/**提交订单按钮*/
@property(nonatomic,strong)UIButton * submitOrder;


/**金额Label*/
@property(nonatomic,strong)UILabel * totalPrice;

/**运费Label*/
@property(nonatomic,strong)UILabel * freightLabel;


/**代理指针*/
@property(nonatomic,assign)id<SubmitOrderBottomToolDelegate>delegate;
-(void)setTotalPrice:(CGFloat)price freight:(CGFloat)freight;



@end